Skip to content

Conversation

@AlexeySachkov
Copy link
Contributor

Host device had been removed a while ago, but we still exported some __spirv symbols which were even referenced on some code paths.

This commit prepares for their removal in the next ABI-breaking window

Host device had been removed a while ago, but we still exported some
`__spirv` symbols which were even referenced on some code paths.

This commit prepares for their removal in the next ABI-breaking window
__nvvm_bar_warp_sync(detail::ExtractMask(detail::GetMask(g))[0]);
#else
#elif defined(__SYCL_DEVICE_ONLY__)
(void)g;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make it [[maybe_unused]] too, otherwise there will be a warning on the host.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in 3d66a50


static uint64_t getMemCacheSize();

#ifndef __INTEL_PREVIEW_BREAKING_CHANGES
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is it used? Can we just drop unconditionally?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is used in spirv_ops.cpp. but since PlatformUtil isn't exported on its own we should indeed be able to remove it straight away

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed in 3d66a50

@AlexeySachkov AlexeySachkov merged commit 3276ddd into intel:sycl Sep 23, 2025
27 checks passed
@AlexeySachkov AlexeySachkov deleted the private/asachkov/drop-__spirv_-funcs-from-the-library branch September 23, 2025 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants